package com.warm.orm.eq.sys.mapper.impl;

import java.util.List;

import org.noear.solon.annotation.Component;

import com.easy.query.api4j.client.EasyQuery;
import com.easy.query.solon.annotation.Db;
import com.warm.orm.eq.sys.mapper.SysLogininforMapper;
import com.warm.orm.domain.sys.SysLogininfor;

/**
 * @author golly_qidajb7
 * @date 2023/11/02
 */
@Component
public class SysLogininforMapperImpl implements SysLogininforMapper {

    @Db
    private EasyQuery easyQuery;

    /* (non-Javadoc)
     * @see mapper.com.warm.orm.eq.sys.SysLogininforMapper#cleanLogininfor()
     */
    @Override
    public int cleanLogininfor() {
        // TODO Auto-generated method stub
        return 0;
    }

    /* (non-Javadoc)
     * @see mapper.com.warm.orm.eq.sys.SysLogininforMapper#deleteLogininforByIds(java.lang.Long[])
     */
    @Override
    public int deleteLogininforByIds(Long[] infoIds) {
        // TODO Auto-generated method stub
        return 0;
    }

    /* (non-Javadoc)
     * @see mapper.com.warm.orm.eq.sys.SysLogininforMapper#insertLogininfor(com.warm.select.api.orm.domain.sys.SysLogininfor)
     */
    @Override
    public void insertLogininfor(SysLogininfor logininfor) {
        // TODO Auto-generated method stub
    }

    /* (non-Javadoc)
     * @see mapper.com.warm.orm.eq.sys.SysLogininforMapper#selectLogininforList(com.warm.select.api.orm.domain.sys.SysLogininfor)
     */
    @Override
    public List<SysLogininfor> selectLogininforList(SysLogininfor logininfor) {
        return this.easyQuery.queryable(SysLogininfor.class).toList();
    }

}
